/**
 * @author SilverBiology, LLC
 * @website http://code.google.com/p/gbif-spreadsheet-processor/
*/
Ext.namespace('GBIF');
Ext.namespace('GBIF.GeoSpatial');
	
GBIF.GeoSpatial.DataGrid = function(config){	

	Ext.apply(this, config, {
			border: false
		,	cm: new Ext.grid.ColumnModel(config.columns)
		,	store: new Ext.data.JsonStore({
				fields: config.fields
			})
		,	loadMask: true
//		,	autoExpandColumn: 'fid' 
	});

	GBIF.GeoSpatial.DataGrid.superclass.constructor.call(this, config);
}

Ext.extend(GBIF.GeoSpatial.DataGrid, Ext.grid.EditorGridPanel, {
});